<!--
    Desenvolvido pela Fábrica de Software do CESUPA.
    Todos os direitos reservados.

    @author Breno Leite
-->

<ui:component xmlns="http://www.w3.org/1999/xhtml"
              xmlns:ui="http://java.sun.com/jsf/facelets"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:a4j="http://richfaces.org/a4j"
              xmlns:rich="http://richfaces.org/rich"
              xmlns:c="http://java.sun.com/jstl/core">

    <a4j:status id="${statusid}" display="block">
        <f:facet name="start">
            <div style="position:fixed;top:0;background-color:#FFF1A8;padding:0 8px 0 8px;
                 margin: 0 auto;width:auto;" id="current-status-message">
                <table>
                    <tr>
                        <td><img src="#{facesContext.externalContext.request.contextPath}/infrastructure/images/icons/hourglass-17x17.gif"/></td>
                        <td><b>${message}</b></td>
                    </tr>
                </table>
            </div>
        </f:facet>
    </a4j:status>
</ui:component>